package com.wxsong.authplatform.authweb.service.authmenu;

import com.wxsong.authplatform.authweb.model.authmenu.AuthMenu;
import com.wxsong.authplatform.authweb.model.roleauth.RoleAuth;

import java.util.List;

public interface AuthMenuService {

    List<AuthMenu> getByAuthId(Long authId);

    AuthMenu getById(Long id);

    int add(AuthMenu authMenu);

    int updateInfo(Long id, Long authId, Long menuId);

    int delete(Long id);

    int deleteByAuthId(Long authId);

    int modifyMenu(Long authId, Long menuId);

    int modifyMenus(List<AuthMenu> authMenus);
}
